<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <meta content="smart-doc" name="generator">
    <title>uac-boot</title>
    <link href="font.css" rel="stylesheet">
    <link href="AllInOne.css?v=1665239542406" rel="stylesheet"/>
    <style>.literalblock pre, .listingblock pre:not(.highlight), .listingblock pre[class="highlight"], .listingblock pre[class^="highlight "], .listingblock pre.CodeRay, .listingblock pre.prettyprint {
        background: #f7f7f8
    }

    .hljs {
        padding: 0
    }</style>
    <script src="highlight.min.js"></script>
    <script src="jquery.min.js"></script>
</head>
<body class="book toc2 toc-left">
<div id="header"><h1>uac-boot</h1>
    <div class="toc2" id="toc">
        <div id="book-search-input"><input id="search" placeholder="Type to search" type="text"></div>
        <div id="toctitle"><span>API Reference</span></div>
        <ul class="sectlevel1" id="accordion">            <li class="open"><a class="dd" href="#_图形验证码控制器">2.图形验证码控制器</a>
                <ul class="sectlevel2">
                    <li><a
                            href="#_1_2_1_获取图形验证码">2.1.获取图形验证码</a>
                    </li>
                </ul>
            </li>
            <li class="open"><a class="dd" href="#_短信控制器">1.短信控制器</a>
                <ul class="sectlevel2">
                    <li><a
                            href="#_1_1_1_发送登录验证码">1.1.发送登录验证码</a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</div>
<div id="content">
    <div id="preamble">
        <div class="sectionbody">
            <table class="tableblock frame-all grid-all spread">
                <colgroup>
                    <col style="width: 20%;">
                    <col style="width: 20%;">
                    <col style="width: 20%;">
                    <col style="width: 20%;">
                    <col style="width: 20%;">
                </colgroup>
                <thead>
                <tr>
                    <th class="tableblock halign-left valign-top">Version</th>
                    <th class="tableblock halign-left valign-top">Update Time</th>
                    <th class="tableblock halign-left valign-top">Status</th>
                    <th class="tableblock halign-left valign-top">Author</th>
                    <th class="tableblock halign-left valign-top">Description</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td class="tableblock halign-left valign-top"><p class="tableblock">v2022-10-08 22:32:22</p></td>
                    <td class="tableblock halign-left valign-top"><p class="tableblock">2022-10-08 22:32:22</p>
                    </td>
                    <td class="tableblock halign-left valign-top"><p class="tableblock">auto</p></td>
                    <td class="tableblock halign-left valign-top"><p class="tableblock">@mazaiting</p></td>
                    <td class="tableblock halign-left valign-top"><p class="tableblock">Created by smart-doc</p></td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
    
    <div class="sect1"><h2 id="_图形验证码控制器"><a class="anchor" href="#_图形验证码控制器"></a><a class="link"
                                                                                           href="#_图形验证码控制器">2.图形验证码控制器</a>
    </h2>
        <div class="sectionbody">
            <div class="sect2" id="1f3b97b62c2948e00e9d0507ce306bfe"><h3 id="_1_2_1_获取图形验证码"><a
                    class="anchor" href="#_1_2_1_获取图形验证码"></a><a class="link"
                                                                                        href="#_1_2_1_获取图形验证码">2.1.获取图形验证码</a>
            </h3>
                <div class="paragraph" data-download="false" data-page="" data-url="/uac/v1/captcha/"
                     id="1f3b97b62c2948e00e9d0507ce306bfe-url"><p><strong>URL:</strong><a class="bare"
                                                                         href="/uac/v1/captcha/">/uac/v1/captcha/</a></p>
                </div>
                <div class="paragraph" data-method="GET" id="1f3b97b62c2948e00e9d0507ce306bfe-method"><p><strong>Type:</strong>GET
                </p></div>
                <div class="paragraph"><p><strong>Author:</strong>mazaiting</p></div>
                <div class="paragraph" data-content-type="application/x-www-form-urlencoded;charset=utf-8" id="1f3b97b62c2948e00e9d0507ce306bfe-content-type"><p>
                    <strong>Content-Type:</strong>application/x-www-form-urlencoded;charset=utf-8</p></div>
                <div class="paragraph"><p><strong>Description:</strong>获取图形验证码</p></div>
                <div class="paragraph"><p><strong>Query-parameters:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Parameter</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Required</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">t</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">int64</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">
                            时间</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>
                    </tbody>
                </table>
                <div class="paragraph"><p><strong>Request-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="bash">curl -X GET -i /uac/v1/captcha/?t=434 --data '434'</code></pre>
                    </div>
                </div>
                <div class="paragraph"><p><strong>Response-fields:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 25%;">
                        <col style="width: 25%;">
                        <col style="width: 25%;">
                        <col style="width: 25%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Field</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">uuid</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">
                            唯一标识</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">img</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">
                            图形验证码</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>
                    </tbody>
                </table>
                <div class="paragraph"><p><strong>Response-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="json">{
  "uuid": "840c4134-0920-418c-bda2-2b1821601f9f",
  "img": "q8rsda"
}</code></pre>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="sect1"><h2 id="_短信控制器"><a class="anchor" href="#_短信控制器"></a><a class="link"
                                                                                           href="#_短信控制器">1.短信控制器</a>
    </h2>
        <div class="sectionbody">
            <div class="sect2" id="d0779779c52acf4c6641d9a362c554fd"><h3 id="_1_1_1_发送登录验证码"><a
                    class="anchor" href="#_1_1_1_发送登录验证码"></a><a class="link"
                                                                                        href="#_1_1_1_发送登录验证码">1.1.发送登录验证码</a>
            </h3>
                <div class="paragraph" data-download="false" data-page="" data-url="/uac/v1/sms/"
                     id="d0779779c52acf4c6641d9a362c554fd-url"><p><strong>URL:</strong><a class="bare"
                                                                         href="/uac/v1/sms/">/uac/v1/sms/</a></p>
                </div>
                <div class="paragraph" data-method="POST" id="d0779779c52acf4c6641d9a362c554fd-method"><p><strong>Type:</strong>POST
                </p></div>
                <div class="paragraph"><p><strong>Author:</strong>mazaiting</p></div>
                <div class="paragraph" data-content-type="application/x-www-form-urlencoded;charset=utf-8" id="d0779779c52acf4c6641d9a362c554fd-content-type"><p>
                    <strong>Content-Type:</strong>application/x-www-form-urlencoded;charset=utf-8</p></div>
                <div class="paragraph"><p><strong>Description:</strong>发送登录验证码</p></div>
                <div class="paragraph"><p><strong>Query-parameters:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Parameter</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Required</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">t</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">int64</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">
                            时间</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">phone</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">
                            手机号</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">platform</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">int32</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">
                            平台编码</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">type</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">enum</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">
                            类型<br/>VERIFY_CODE_LOGIN -(1,&quot;登录验证码&quot;)<br/></p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>
                    </tbody>
                </table>
                <div class="paragraph"><p><strong>Request-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="bash">curl -X POST -i /uac/v1/sms/ --data 't=418'</code></pre>
                    </div>
                </div>
                <div class="paragraph"><p><strong>Response-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="json">true</code></pre>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <footer class="page-footer"><span class="copyright">Generated by smart-doc at 2022-10-08 22:32:22</span><span
            class="footer-modification">Suggestions,contact,support and error reporting on<a
            href="https://gitee.com/smart-doc-team/smart-doc" target="_blank">Gitee</a>or<a
            href="https://github.com/smart-doc-group/smart-doc.git" target="_blank">Github</a></span>
    </footer>
    <div href="javascript:void(0)" id="toTop"><img id="upArrow"
                                                   src=""><span
            id="upText">Top</span></div>
</div>
<script src="search.js?v=1665239542406"></script>
<script>
    $(function(){const Accordion=function(el,multiple){this.el=el||{};this.multiple=multiple||false;const links=this.el.find(".dd");links.on("click",{el:this.el,multiple:this.multiple},this.dropdown)};Accordion.prototype.dropdown=function(e){const $el=e.data.el;const $this=$(this),$next=$this.next();$next.slideToggle();$this.parent().toggleClass("open");if(!e.data.multiple){$el.find(".submenu").not($next).slideUp("20").parent().removeClass("open")}};new Accordion($("#accordion"),false);hljs.highlightAll();$(window).scroll(function(){if($(window).scrollTop()>100){$("#toTop").fadeIn(1500);$("#toTop").hover(function(){$("#upArrow").hide();$("#upText").show()},function(){$("#upArrow").show();$("#upText").hide()})}else{$("#toTop").fadeOut(1500)}});$("#toTop").click(function(){$("body, html").animate({scrollTop:0},1000);return false})});










</script>
</body>
</html>